package cn.joeg.app.kernel.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "登录请求")
public class LoginReq {

    @ApiModelProperty("登录帐号")
    private String loginId;

    @ApiModelProperty("登入密码")
    private String password;

    @ApiModelProperty("区号")
    private String sid;

    public static LoginReq build(String loginId) {
        LoginReq loginReq = new LoginReq();
        loginReq.loginId = loginId;
        return loginReq;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }
}
